package com.woniu.houtai;

import com.woniu.houtai.entity.Product;
import com.woniu.houtai.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;

@SpringBootApplication
@Controller
public class HoutaiMain {
    public static void main(String[] args) {
        SpringApplication.run(HoutaiMain.class);
        System.out.println("hello");
    }
    @Autowired
    ProductService productService;

    @RequestMapping("homev")
    public String homev(){
        return "homev";
    }

}
